package com.zjweu.hkg.Servies;

import com.zjweu.hkg.DTO.CommentDTO;
import com.zjweu.hkg.POJO.Comment;
import com.zjweu.hkg.POJO.Result;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface CommentService {

    List<CommentDTO> getCommentsByArticleId(int articleId);

    Result<String> addCommentByArticleId(Map<String, Object> requestData);
}
